<?php
require_once("$inc/database.php");
require_once("$inc/toolbox.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 
<html>
<head>
  <title>Pokeralyzer</title>
  <link rel="stylesheet" type="text/css" href="http://www.norsof.org/laka/pa/frontend/css/style.css">
</head>

<body>

<div id="top">
  <ul id="nav">
    <li id="home">
	  <a class="<?php echo $a_class; ?>" href="http://www.norsof.org/laka/pa/frontend/">Home</a>
	</li>
    <li id="tournaments">
	  <a class="" href="">Tournaments</a>
	</li>
    <li id="sessions">
	  <a class="" href="">Sessions</a>
	</li>
    <li id="hand_history">
	  <a class="" href="">Hand History</a>
	</li>
    <li id="players">
	  <a class="" href="">Players</a>
	</li>
    <li id="login">
	  <?php
	  	if($_SESSION['auth'] == 'yes' && isset($_SESSION['user'])) {
			echo '<li id="account"><a class="account" href="http://www.norsof.org/laka/pa/frontend/account/">Account: <img src="http://www.norsof.org/laka/pa/frontend/gfx/ps.png" height="12" width="10">&nbsp;'.$_SESSION['user'].' ($134,54)</a></li>';
		} else {
      		echo '<a class="login" href="http://www.norsof.org/laka/pa/frontend/login/">login</a>';
		}
	  ?>
    </li>
  </ul>
</div>

<div id="logo"></div>
  <div id="container">

